﻿/*
	CommandTemplate
	
	Template for a ARP Command class.
	
    Created by Jesse R. Warden a.k.a. "JesterXL"
	jesterxl@jessewarden.com
	http://www.jessewarden.com
	
	This is release under a Creative Commons license. 
    More information can be found here:
    
    http://creativecommons.org/licenses/by/2.5/
*/
import mx.rpc.ResultEvent;
import mx.rpc.FaultEvent;
import mx.rpc.Responder;

import org.osflash.arp.CommandTemplate;

import <$EventClass$>;
import <$DelegateClass$>;
import <$CallbackClass$>;

class <$PackagePrefix$>.<$ClassName$> extends <$BaseClassName$> implements Responder
{
	private function executeOperation(p_event:<$EventClassName$>):Void
	{
	}
	
	public function onResult(result:ResultEvent):Void
	{
		super.result(new <$CallbackClassName$>(true));
	}
	
	public function onFault(status:FaultEvent):Void
	{
		super.fault(new <$CallbackClassName$>(false));
	}
	
	public function toString():String
	{
		return "[class <$ClassName$>]";
	}
}
